//
//  LoginCV.m
//  OCProject
//
//  Created by 王明钦 on 2018/2/9.
//  Copyright © 2018年 oc. All rights reserved.
//

#import "LoginCV.h"
#import "LoginView.h"

@interface LoginCV ()

@property (strong, nonatomic) LoginView *loginView;

@end

@implementation LoginCV

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
//    UIImageView *logoIv = [[UIImageView alloc] init];
//    logoIv.frame = CGRectMake(132, 110, 93, 93);
//    logoIv.backgroundColor = [UIColor redColor];
//    [self.view addSubview:logoIv];
//
//    UILabel *lab = [[UILabel alloc] initWithFrame:CGRectMake(132, 215, 93, 20)];
//    lab.backgroundColor = [UIColor grayColor];
//    [self.view addSubview:lab];
    
    self.loginView = [[LoginView alloc] initWithFrame:CGRectMake(0, 0 , KSCREENWIDTH, KSCREENHEIGHT)];
    [self.view addSubview:self.loginView];
   
    self.loginView.btnCallBackHandle = ^{
        NSLog(@"click");
    };
}


-(BOOL)isNeedHeader{
    return NO;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
